package com.console.operations.fundmgr;


import com.common.test.OperationBase;
import com.common.test.UITestBase;
import com.console.pages.fundmgr.OffLineRechargeAccountTransferAuditPage;

	/**
		@author 王嘉犇
		@name 线下充值帐户转账审核
		@type 动作类
	 */

public class OffLineRechargeAccountTransferAudit extends OperationBase {

	public OffLineRechargeAccountTransferAudit(UITestBase tb){
		super(tb);
	}
	
	public boolean istransferfeecorrected = false;
	
	public void audit(String cellphone, String transferfee) throws Exception{
		switchToDefaultContent();
		OffLineRechargeAccountTransferAuditPage oratap = new OffLineRechargeAccountTransferAuditPage(tb);
		waitForPageContainsStr("线下充值帐户转账审核");
		oratap.mobilephonesearchinput.type(cellphone);
		oratap.searchButton.click();
		pause(700);
		oratap.auditallrecoredsButton.click();
		waitForElementDisplayed(oratap.submitofBoxButton);
		oratap.submitofBoxButton.click();
		waitForPageContainsStr("成功");
		pause(5000);
	}
}
